package netective.logger;

import netective.dao.DatabaseHelper;

public class Logger {
	static DatabaseHelper dh = new DatabaseHelper();
	
	public static void LogMessage(String message) {
		dh.insertLog(LogType.Message.toString(), message);
	}
	
	public static void LogError(String message) {
		dh.insertLog(LogType.Error.toString(), message);
	}
	
	public static void LogWarning(String message) {
		dh.insertLog(LogType.Warning.toString(), message);
	}
}
